/*
 * @Des: 任务待办API
 * @Author: jin_yc
 * @Date: 2019-11-14 19:32:17
 * @LastEditor: jin_yc
 * @LastEditTime: 2019-12-09 10:33:02
 */
import request from '@/utils/request'


/**
 * @description: 获取
 * @param {type} 
 * @return: 
 */
export function taskDelegate(taskId, data) {
  return request({
    method: 'put',
    url: '/sys-bpm/process/delegate',
    params: {
      taskId: taskId,
      comment: data.comment,
      userName: data.userName
    }
  })
}